Remus: ensure kernel modules are built before attempting to install
authorKeir Fraser <keir.fraser@citrix.com>
Wed, 3 Feb 2010 09:38:00 +0000 (09:38 +0000)
committerKeir Fraser <keir.fraser@citrix.com>
Wed, 3 Feb 2010 09:38:00 +0000 (09:38 +0000)
them

make tools seems to skip straight to the install target.

Signed-off-by: Brendan Cully <brendan@cs.ubc.ca>
tools/remus/kmod/Makefile

index e57e7bd899d0093a7f686edf7b3c82c669562f83..bc4eaf4d6a1f38c3fa9ee11824c0ae38151ecdfc 100644 (file)
@@ -17,7 +17,7 @@ all:
        if test -d $(KERNELDIR); then $(MAKE) -C $(KERNELDIR) SUBDIRS=`pwd` modules; fi
 
 .PHONY: install
-install:
+install: all
        if test -d $(KERNELDIR); then $(MAKE) -C $(KERNELDIR) SUBDIRS=`pwd` INSTALL_MOD_PATH=$(DESTDIR) modules_install; fi
 
 clean::